
<%@ include file="/common/taglibs.jsp"%>
<!--分页查询共用的页面-->
<%@ include file="/common/common.jsp"%>
<%@ page language="java" pageEncoding="UTF-8"%>

<script>

    function onOsdComboTreeChecked(selectedValues)
    {
        $("#osdType").val(selectedValues);
    }

$().ready(function() {
 $("#entityForm").validate();
    var osdStr = "${entity.osdType}";
    var osdArray = osdStr.split(",");
    var initOptions = {params:{category:"PlatformVehicleOsd"},
		   onCheck:onOsdComboTreeChecked,
		selectedValues:osdArray};
    $("#osdCombo").initComboTree(initOptions);

});
</script>
 <BODY>


<form id="entityForm" name="entityForm"  action="<%=ApplicationPath%>/vehicleOsd/save.action" method="post">
<input type="hidden" name="entityId"
					value="${entity.entityId}"/>

	<input type="hidden"  name="vehicleId"  id="vehicleId" value="0"/>
	<input type="hidden"  name="osdType"  id="osdType" value="${entity.osdType}"/>

		<table  width="100%"  class="TableBlock">
		<tr>
						<td colspan="2" style="font-weight: bold; background: #EFEFEF;" height="25">
						 OSD叠加信息:
								<input type="submit" class="button gray medium" value="保存">
						<span class="MessageFromServer">${message}</span>
						</td>
					</tr>
					<tr>
				<td width="200">OSD字幕类型:</td>
				<td align="left">

					<select id="osdCombo" class="easyui-combotree" style="width: 200px; height: 24px;">
					</select>
				</td>
			</tr>
				<tr>
				<td>坐标x:</td>
				<td align="left"><input type="text" name="x"  value="${entity.x}" id="x" class="required number"/></td>
			</tr>
				<tr>
				<td>坐标y:</td>
				<td align="left"><input type="text" name="y" value="${entity.y}" id="y" class="required number"/></td>
			</tr>


			<tr>
						<td colspan="2" align="center">
								<input type="submit" class="button gray medium" value="保存">
							(保存完毕后用户重新登录才能生效)
						</td>
					</tr>


</table>
</form>